package org.minimongodb;

public class Student {
	 /**
     * 约束：object 数据必须有一个id属性，作为唯一性约束
     *  
     */
	private String id;
	private String name;

	public Student() {
	}

	public Student(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
